import request from "@/utils/request"

const url = '/fBank'

// 获取所有银行信息
export function getAllBankAPI() {
    return request({
        url: `${url}/list`
    })
}

// 根据id获取银行信息
export function getBankByIdAPI(id) {
    return request({
        url: `${url}/${id}`
    })
}